<link rel="stylesheet" href="../core/resource/weui/weui.css">
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true" style="touch-action: pan-y; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
	<div class="carousel-inner" role="listbox" style="height:160px">
		<div ng-repeat="banner in pagedata.basic.hdps" ng-class="{'item':true,'active':$index==0}" class="item next left">
			<a href="{{item.url}}">
				<img ng-src="{{tomedia(item.picurl) || '../core/resource/images/diy/default/banner-1'}}" style="display: block; width: 100%; height: auto;">
			</a>
		</div>
	</div>
	<style>
            .fui-swipe-page .fui-swipe-bullet {background: #fff; opacity: {opacity};}
            .fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
    </style>
	<div id="carousel-jinyun" class=" fui-swipe-page center rectangle" style="padding: 0 1px; bottom: 1px; ">
		<div class="fui-swipe-bullet" ng-repeat="banner in " data-target="#carousel-container" data-slide-to="{0}" ng-class="{'active':$index==0}"></div>
	</div>
</div>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>
<div ng-if="pagedata.op=='main'">
<div class="fui-notice" style="background: {background}; border-color: {bordercolor};" data-speed="4">
        <div class="icon"><i class="icon jinyunicon icon-qiche" style="font-size: 0.7rem; color: red;"></i></div>
        <div class="text">
            <ul style="margin-top: 0px;">
				<li> <a style="color:#aaa">已服务1688888个车主成功挪车！</a></li>
			</ul>
        </div>
</div>
<div class="weui_cells weui_cells_form">
           <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">现场照片</label></div>
                <div class="weui_cell_bd weui_cell_primary">
					<ul class="weui_uploader_files" ng-if="pagedata.item.image">
                          <li class="weui_uploader_file" style="background-image:url({{tomedia(pagedata.item.image)}})"></li>
                    </ul>
                    <div class="weui_uploader_input_wrp">
                         <input class="weui_uploader_input" ng-click="up_file(pagedata.item,'image','image')" multiple="">
                    </div>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">您的手机号</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="string" ng-modal="pagedata.item.mobile" pattern="[0-9]*" placeholder="输入手机号可以直接联系车主哦">
                </div>
            </div>
</div>
<div class="weui_btn_area">
     <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="post(pagedata.item,'notice')">通知车主</a>
</div>

</div>
<div ng-if="pagedata.op=='receive'">
<div class="weui_cells_title">对方留言</div>
<div class="weui_cells">
            <div class="weui_cell">
                <div class="weui_cell_bd weui_cell_primary">
                    <p>留言内容</p>
                </div>
            </div>
</div>
<div class="weui_cells_title">发送信息</div>
<div class="weui_cells weui_cells_form">
     <div class="weui_cell">
                <div class="weui_cell_bd weui_cell_primary">
                    <textarea class="weui_textarea" placeholder="请输入留言信息" rows="3"></textarea>
                    <div class="weui_textarea_counter"><span>0</span>/200</div>
                </div>
      </div>
</div>
<div class="weui_btn_area">
     <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips">提交信息</a>
</div>
</div>
<div class="weui_cells_tips text-center">@版权所有</div>
<div ng-include="sys_html('_footer')"></div>